package Action;

import PO.LoginPage;
import com.epwk.action.Action;
import org.openqa.selenium.WebDriver;

/**
 * Created by Administrator on 2016/11/25.
 */
public class Login {

    public static void login(WebDriver driver, String account, String password) {

        Action.click(LoginPage.loginButton);
//        输入账号密码登陆
        Action.sendkeys(LoginPage.account, account);
        Action.sendkeys(LoginPage.password, password);
        Action.click(LoginPage.submintButton);

    }
}
